import { Dimensions } from 'react-native';

/**
 * Px To Rrx Based on 750px design draft
 * @param {number} [px]
 * @return {number}
 */
const px2rpx = px => {
  return px * (Dimensions.get('screen').width / 750);
};
export default px2rpx;
